﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace Wolfy.NetDisk.Site.Models
{
    public class SignInInput
    {
        [Required(ErrorMessage = "请输入用户名")]
        [Display(Name = "用户名")]
        // [Display(ResourceType = typeof(Mui), Name = "Login")]
        public string Name { get; set; }

        [Required(ErrorMessage = "请输入密码")]
        [Display(Name = "密码")]
        //   [Display(ResourceType = typeof(Mui), Name = "Password")]
        public string Password { get; set; }
        /// <summary>
        /// 记住我
        /// </summary>
        [Display(Name = "记住账户？")]
        public bool Remember { get; set; }
        /// <summary>
        /// 验证码
        /// </summary>
        [Display(Name = "验证码")]
        [Required(ErrorMessage = "请输入验证码")]
        public string VerifyCode { set; get; }
    }
}